package com.symaster.common.geom.show.map.create.button;

import com.symaster.common.geom.show.map.create.EditController;

import java.awt.event.ActionEvent;

public class CreateCurveButton extends MyControllerButton {

    public CreateCurveButton(EditController editController) {
        super(editController, "曲线");
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        super.editController.setToolBarButtonEnable(false);
        super.editController.updateMessage("单击左键选择起始点; 单击右键取消");
    }
}